﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="TreeViewNoRefreshCsharp.aspx.cs" Inherits="TreeViewNoRefreshCsharp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>TreeView how to populate a node on the client Csharp2005</title>
<style type="text/css">
<!--
body {"Login_Verify"Login_Verify
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
a:link {
	color: #0000FF;
}
a:visited {
	color: #0000FF;
}
a:hover {
	color: #0000FF;
	text-decoration: none;
}
a:active {
	color: #0000FF;
	}
.basix {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
}
.header1 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	color: #006699;
}
.lgHeader1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: bold;
	color: #0066CC;
	background-color: #CEE9FF;
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<form id="form1" runat="server">

<table width="752" border="0" align="center" cellpadding="0" cellspacing="0">
<tr bgcolor="#5482FC">
<td colspan="4"><img src="/../media/spacer.gif" width="1" height="1" /></td>
</tr>
<tr>
<td width="1" bgcolor="#5482FC"><img src="../media/spacer.gif" alt="Server Intellect" width="1" height="1" /></td>
<td width="250"><a href="http://www.serverintellect.com"><img src="media/logo.gif" alt="Server Intellect" width="250" height="75" border="0" /></a></td>
<td width="500" bgcolor="#3399ff"><a href="http://www.serverintellect.com"><img src="media/headerR1.gif" alt="Server Intellect" width="500" height="75" border="0" /></a></td>
<td width="1" bgcolor="#5482FC"><img src="media/spacer.gif" alt="Server Intellect" width="1" height="1" /></td>
</tr>
<tr bgcolor="#5482FC">
<td colspan="4"><img src="media/spacer.gif" width="1" height="1" /></td>
</tr>
</table>
    <br />
<div>
<table width="600" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#5482fc">
<tr>
<td height="50" align="center" class="lgHeader1">How to TreeView how to populate a node on the client using ASP.NET 2.0 and C#.NET</td>
</tr>
</table>
    <br />
<fieldset style="margin-left: 100px; margin-right: 100px; height: 81px;">
<asp:treeview ID="Treeview1" runat="server" ImageSet="XPFileExplorer" AutoGenerateDataBindings="False" ExpandDepth=0 
   OnTreeNodePopulate="Treeview1_TreeNodePopulate" 
   > 
   <SelectedNodeStyle BackColor="#B5B5B5"></SelectedNodeStyle> 
   <Nodes> 
   <asp:TreeNode Value="D:" Text="D:" PopulateOnDemand="True" NavigateUrl="#" > 
   </asp:TreeNode> 
   </Nodes> 
   <NodeStyle VerticalPadding="2px" Font-Names="Tahoma" Font-Size="8pt" HorizontalPadding="2px" 
   ForeColor="Black"></NodeStyle> 
   <HoverNodeStyle Font-Underline="True" ForeColor="#6666AA"></HoverNodeStyle> 
   </asp:treeview> 
</fieldset>
   
    <br />
<table width="500" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="50" align="center" class="basix"><strong>Power. Stability. Flexibility.</strong><br />
Hosting from <a href="http://www.serverintellect.com">Server Intellect</a><br />
<br />
For more ASP.NET Tutorials visit <a href="http://www.AspNetTutorials.com">www.AspNetTutorials.com</a></td>
</tr>
</table>

</div>
</form>
</body>
</html>

